package com.openbravo.bean.sales;

import java.util.Date;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_BaseBean;

public class QuickProduct implements I_BaseBean<String>,I_AutoGeneratorStringKey{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5263566728852444762L;
	public String id;
	public int type;
	public String productId;
	public String productAttr;
	public String regUserId;
	public Date curDate;
	public double unit;
	
	public static int TYPE_MovementFrom=1;//调入
	public static int TYPE_MovementTo=2;//调出
	public static int TYPE_VendorIn=3;//供货商收货
	public static int TYPE_VendorOut=4;//供货商退货
	public static int TYPE_OutOfStock=5;//缺货
	public static int TYPE_BeDamaged=6;//破损
	public static int TYPE_BeOverdue=7;//将过期
	public static int TYPE_Overdue=8;//已过期
	public static int TYPE_Unsalable=9;//滞销
	
	@Override
	public String getKey() {
		return id;
	}

	@Override
	public void setKey(String key) {
		this.id=key;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductAttr() {
		return productAttr;
	}

	public void setProductAttr(String productAttr) {
		this.productAttr = productAttr;
	}

	public String getRegUserId() {
		return regUserId;
	}

	public void setRegUserId(String regUserId) {
		this.regUserId = regUserId;
	}
	
	public Date getCurDate() {
		return curDate;
	}

	public void setCurDate(Date curDate) {
		this.curDate = curDate;
	}

	public double getUnit() {
		return unit;
	}

	public void setUnit(double unit) {
		this.unit = unit;
	}
}
